package cn.edu.hit.education.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.ParameterMapper;
import org.springframework.stereotype.Service;

import cn.edu.hit.education.dao.PermissionMapper;
import cn.edu.hit.education.pojo.Permission;

/**
 * 
* <p>Title: PermissonServiceImpl</p>  
* <p>Description: </p>  
* @author 罗成
* @date 2021年5月4日
 */
@Service
public class PermissonServiceImpl implements IPermissonService {
	
	@Autowired
	PermissionMapper permissonMapper;
	
	@Override
	public Permission queryPermissionById(int permissionId) {
		// TODO Auto-generated method stub
		return permissonMapper.selectByPrimaryKey(permissionId);
	}
	

}
